package com.soft.javase.day06;

/**
 * @author yzg
 * @desc TODO
 * @date 2025/4/24
 */
public class SystemDemo {
    public static void main(String[] args) {
        long startTime = System.currentTimeMillis();

        for (int i = 1; i <= 10000; i++) {
            System.out.println(i);
        }

        long endTime = System.currentTimeMillis();
        long duration = endTime - startTime;

        System.out.println("执行时间: " + duration + " 毫秒");

    }
}
